package catalina;

import server.base.HttpResponse;

import java.io.IOException;

/**
 * @ClassName StanderServer
 * @Description TODO
 * @Auth ying.xiao
 * @Date 2021/3/11
 * @Version 1.0.0
 */
public class StanderServer implements Server {

    private Service service;

    public void setService(Service service) {
        this.service = service;
    }

    @Override
    public void service(Request request, Response response) throws IOException {
        service.service(request,response);
    }
}
